/**
 * Copyright (C) 2011 Andrew C. Love (DNC) <dnc.app.sup@gmail.com>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.dnc.cloak.framework.persistence.gen;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class GridColumnExample {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table grid_column
     *
     * @mbggenerated Tue Feb 15 20:28:39 EST 2011
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table grid_column
     *
     * @mbggenerated Tue Feb 15 20:28:39 EST 2011
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table grid_column
     *
     * @mbggenerated Tue Feb 15 20:28:39 EST 2011
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table grid_column
     *
     * @mbggenerated Tue Feb 15 20:28:39 EST 2011
     */
    public GridColumnExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table grid_column
     *
     * @mbggenerated Tue Feb 15 20:28:39 EST 2011
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table grid_column
     *
     * @mbggenerated Tue Feb 15 20:28:39 EST 2011
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table grid_column
     *
     * @mbggenerated Tue Feb 15 20:28:39 EST 2011
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table grid_column
     *
     * @mbggenerated Tue Feb 15 20:28:39 EST 2011
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table grid_column
     *
     * @mbggenerated Tue Feb 15 20:28:39 EST 2011
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table grid_column
     *
     * @mbggenerated Tue Feb 15 20:28:39 EST 2011
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table grid_column
     *
     * @mbggenerated Tue Feb 15 20:28:39 EST 2011
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table grid_column
     *
     * @mbggenerated Tue Feb 15 20:28:39 EST 2011
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table grid_column
     *
     * @mbggenerated Tue Feb 15 20:28:39 EST 2011
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table grid_column
     *
     * @mbggenerated Tue Feb 15 20:28:39 EST 2011
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table grid_column
     *
     * @mbggenerated Tue Feb 15 20:28:39 EST 2011
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andGridColumnNameIsNull() {
            addCriterion("GRID_COLUMN_NAME is null");
            return (Criteria) this;
        }

        public Criteria andGridColumnNameIsNotNull() {
            addCriterion("GRID_COLUMN_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andGridColumnNameEqualTo(String value) {
            addCriterion("GRID_COLUMN_NAME =", value, "gridColumnName");
            return (Criteria) this;
        }

        public Criteria andGridColumnNameNotEqualTo(String value) {
            addCriterion("GRID_COLUMN_NAME <>", value, "gridColumnName");
            return (Criteria) this;
        }

        public Criteria andGridColumnNameGreaterThan(String value) {
            addCriterion("GRID_COLUMN_NAME >", value, "gridColumnName");
            return (Criteria) this;
        }

        public Criteria andGridColumnNameGreaterThanOrEqualTo(String value) {
            addCriterion("GRID_COLUMN_NAME >=", value, "gridColumnName");
            return (Criteria) this;
        }

        public Criteria andGridColumnNameLessThan(String value) {
            addCriterion("GRID_COLUMN_NAME <", value, "gridColumnName");
            return (Criteria) this;
        }

        public Criteria andGridColumnNameLessThanOrEqualTo(String value) {
            addCriterion("GRID_COLUMN_NAME <=", value, "gridColumnName");
            return (Criteria) this;
        }

        public Criteria andGridColumnNameLike(String value) {
            addCriterion("GRID_COLUMN_NAME like", value, "gridColumnName");
            return (Criteria) this;
        }

        public Criteria andGridColumnNameNotLike(String value) {
            addCriterion("GRID_COLUMN_NAME not like", value, "gridColumnName");
            return (Criteria) this;
        }

        public Criteria andGridColumnNameIn(List<String> values) {
            addCriterion("GRID_COLUMN_NAME in", values, "gridColumnName");
            return (Criteria) this;
        }

        public Criteria andGridColumnNameNotIn(List<String> values) {
            addCriterion("GRID_COLUMN_NAME not in", values, "gridColumnName");
            return (Criteria) this;
        }

        public Criteria andGridColumnNameBetween(String value1, String value2) {
            addCriterion("GRID_COLUMN_NAME between", value1, value2, "gridColumnName");
            return (Criteria) this;
        }

        public Criteria andGridColumnNameNotBetween(String value1, String value2) {
            addCriterion("GRID_COLUMN_NAME not between", value1, value2, "gridColumnName");
            return (Criteria) this;
        }

        public Criteria andGridIdIsNull() {
            addCriterion("GRID_ID is null");
            return (Criteria) this;
        }

        public Criteria andGridIdIsNotNull() {
            addCriterion("GRID_ID is not null");
            return (Criteria) this;
        }

        public Criteria andGridIdEqualTo(Integer value) {
            addCriterion("GRID_ID =", value, "gridId");
            return (Criteria) this;
        }

        public Criteria andGridIdNotEqualTo(Integer value) {
            addCriterion("GRID_ID <>", value, "gridId");
            return (Criteria) this;
        }

        public Criteria andGridIdGreaterThan(Integer value) {
            addCriterion("GRID_ID >", value, "gridId");
            return (Criteria) this;
        }

        public Criteria andGridIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("GRID_ID >=", value, "gridId");
            return (Criteria) this;
        }

        public Criteria andGridIdLessThan(Integer value) {
            addCriterion("GRID_ID <", value, "gridId");
            return (Criteria) this;
        }

        public Criteria andGridIdLessThanOrEqualTo(Integer value) {
            addCriterion("GRID_ID <=", value, "gridId");
            return (Criteria) this;
        }

        public Criteria andGridIdIn(List<Integer> values) {
            addCriterion("GRID_ID in", values, "gridId");
            return (Criteria) this;
        }

        public Criteria andGridIdNotIn(List<Integer> values) {
            addCriterion("GRID_ID not in", values, "gridId");
            return (Criteria) this;
        }

        public Criteria andGridIdBetween(Integer value1, Integer value2) {
            addCriterion("GRID_ID between", value1, value2, "gridId");
            return (Criteria) this;
        }

        public Criteria andGridIdNotBetween(Integer value1, Integer value2) {
            addCriterion("GRID_ID not between", value1, value2, "gridId");
            return (Criteria) this;
        }

        public Criteria andGridColumnOrderIsNull() {
            addCriterion("GRID_COLUMN_ORDER is null");
            return (Criteria) this;
        }

        public Criteria andGridColumnOrderIsNotNull() {
            addCriterion("GRID_COLUMN_ORDER is not null");
            return (Criteria) this;
        }

        public Criteria andGridColumnOrderEqualTo(Integer value) {
            addCriterion("GRID_COLUMN_ORDER =", value, "gridColumnOrder");
            return (Criteria) this;
        }

        public Criteria andGridColumnOrderNotEqualTo(Integer value) {
            addCriterion("GRID_COLUMN_ORDER <>", value, "gridColumnOrder");
            return (Criteria) this;
        }

        public Criteria andGridColumnOrderGreaterThan(Integer value) {
            addCriterion("GRID_COLUMN_ORDER >", value, "gridColumnOrder");
            return (Criteria) this;
        }

        public Criteria andGridColumnOrderGreaterThanOrEqualTo(Integer value) {
            addCriterion("GRID_COLUMN_ORDER >=", value, "gridColumnOrder");
            return (Criteria) this;
        }

        public Criteria andGridColumnOrderLessThan(Integer value) {
            addCriterion("GRID_COLUMN_ORDER <", value, "gridColumnOrder");
            return (Criteria) this;
        }

        public Criteria andGridColumnOrderLessThanOrEqualTo(Integer value) {
            addCriterion("GRID_COLUMN_ORDER <=", value, "gridColumnOrder");
            return (Criteria) this;
        }

        public Criteria andGridColumnOrderIn(List<Integer> values) {
            addCriterion("GRID_COLUMN_ORDER in", values, "gridColumnOrder");
            return (Criteria) this;
        }

        public Criteria andGridColumnOrderNotIn(List<Integer> values) {
            addCriterion("GRID_COLUMN_ORDER not in", values, "gridColumnOrder");
            return (Criteria) this;
        }

        public Criteria andGridColumnOrderBetween(Integer value1, Integer value2) {
            addCriterion("GRID_COLUMN_ORDER between", value1, value2, "gridColumnOrder");
            return (Criteria) this;
        }

        public Criteria andGridColumnOrderNotBetween(Integer value1, Integer value2) {
            addCriterion("GRID_COLUMN_ORDER not between", value1, value2, "gridColumnOrder");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsKeyIsNull() {
            addCriterion("GRID_COLUMN_IS_KEY is null");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsKeyIsNotNull() {
            addCriterion("GRID_COLUMN_IS_KEY is not null");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsKeyEqualTo(Boolean value) {
            addCriterion("GRID_COLUMN_IS_KEY =", value, "gridColumnIsKey");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsKeyNotEqualTo(Boolean value) {
            addCriterion("GRID_COLUMN_IS_KEY <>", value, "gridColumnIsKey");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsKeyGreaterThan(Boolean value) {
            addCriterion("GRID_COLUMN_IS_KEY >", value, "gridColumnIsKey");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsKeyGreaterThanOrEqualTo(Boolean value) {
            addCriterion("GRID_COLUMN_IS_KEY >=", value, "gridColumnIsKey");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsKeyLessThan(Boolean value) {
            addCriterion("GRID_COLUMN_IS_KEY <", value, "gridColumnIsKey");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsKeyLessThanOrEqualTo(Boolean value) {
            addCriterion("GRID_COLUMN_IS_KEY <=", value, "gridColumnIsKey");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsKeyIn(List<Boolean> values) {
            addCriterion("GRID_COLUMN_IS_KEY in", values, "gridColumnIsKey");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsKeyNotIn(List<Boolean> values) {
            addCriterion("GRID_COLUMN_IS_KEY not in", values, "gridColumnIsKey");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsKeyBetween(Boolean value1, Boolean value2) {
            addCriterion("GRID_COLUMN_IS_KEY between", value1, value2, "gridColumnIsKey");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsKeyNotBetween(Boolean value1, Boolean value2) {
            addCriterion("GRID_COLUMN_IS_KEY not between", value1, value2, "gridColumnIsKey");
            return (Criteria) this;
        }

        public Criteria andGridColumnDescriptionIsNull() {
            addCriterion("GRID_COLUMN_DESCRIPTION is null");
            return (Criteria) this;
        }

        public Criteria andGridColumnDescriptionIsNotNull() {
            addCriterion("GRID_COLUMN_DESCRIPTION is not null");
            return (Criteria) this;
        }

        public Criteria andGridColumnDescriptionEqualTo(String value) {
            addCriterion("GRID_COLUMN_DESCRIPTION =", value, "gridColumnDescription");
            return (Criteria) this;
        }

        public Criteria andGridColumnDescriptionNotEqualTo(String value) {
            addCriterion("GRID_COLUMN_DESCRIPTION <>", value, "gridColumnDescription");
            return (Criteria) this;
        }

        public Criteria andGridColumnDescriptionGreaterThan(String value) {
            addCriterion("GRID_COLUMN_DESCRIPTION >", value, "gridColumnDescription");
            return (Criteria) this;
        }

        public Criteria andGridColumnDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("GRID_COLUMN_DESCRIPTION >=", value, "gridColumnDescription");
            return (Criteria) this;
        }

        public Criteria andGridColumnDescriptionLessThan(String value) {
            addCriterion("GRID_COLUMN_DESCRIPTION <", value, "gridColumnDescription");
            return (Criteria) this;
        }

        public Criteria andGridColumnDescriptionLessThanOrEqualTo(String value) {
            addCriterion("GRID_COLUMN_DESCRIPTION <=", value, "gridColumnDescription");
            return (Criteria) this;
        }

        public Criteria andGridColumnDescriptionLike(String value) {
            addCriterion("GRID_COLUMN_DESCRIPTION like", value, "gridColumnDescription");
            return (Criteria) this;
        }

        public Criteria andGridColumnDescriptionNotLike(String value) {
            addCriterion("GRID_COLUMN_DESCRIPTION not like", value, "gridColumnDescription");
            return (Criteria) this;
        }

        public Criteria andGridColumnDescriptionIn(List<String> values) {
            addCriterion("GRID_COLUMN_DESCRIPTION in", values, "gridColumnDescription");
            return (Criteria) this;
        }

        public Criteria andGridColumnDescriptionNotIn(List<String> values) {
            addCriterion("GRID_COLUMN_DESCRIPTION not in", values, "gridColumnDescription");
            return (Criteria) this;
        }

        public Criteria andGridColumnDescriptionBetween(String value1, String value2) {
            addCriterion("GRID_COLUMN_DESCRIPTION between", value1, value2, "gridColumnDescription");
            return (Criteria) this;
        }

        public Criteria andGridColumnDescriptionNotBetween(String value1, String value2) {
            addCriterion("GRID_COLUMN_DESCRIPTION not between", value1, value2, "gridColumnDescription");
            return (Criteria) this;
        }

        public Criteria andGridColumnClassNameIsNull() {
            addCriterion("GRID_COLUMN_CLASS_NAME is null");
            return (Criteria) this;
        }

        public Criteria andGridColumnClassNameIsNotNull() {
            addCriterion("GRID_COLUMN_CLASS_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andGridColumnClassNameEqualTo(String value) {
            addCriterion("GRID_COLUMN_CLASS_NAME =", value, "gridColumnClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnClassNameNotEqualTo(String value) {
            addCriterion("GRID_COLUMN_CLASS_NAME <>", value, "gridColumnClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnClassNameGreaterThan(String value) {
            addCriterion("GRID_COLUMN_CLASS_NAME >", value, "gridColumnClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnClassNameGreaterThanOrEqualTo(String value) {
            addCriterion("GRID_COLUMN_CLASS_NAME >=", value, "gridColumnClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnClassNameLessThan(String value) {
            addCriterion("GRID_COLUMN_CLASS_NAME <", value, "gridColumnClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnClassNameLessThanOrEqualTo(String value) {
            addCriterion("GRID_COLUMN_CLASS_NAME <=", value, "gridColumnClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnClassNameLike(String value) {
            addCriterion("GRID_COLUMN_CLASS_NAME like", value, "gridColumnClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnClassNameNotLike(String value) {
            addCriterion("GRID_COLUMN_CLASS_NAME not like", value, "gridColumnClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnClassNameIn(List<String> values) {
            addCriterion("GRID_COLUMN_CLASS_NAME in", values, "gridColumnClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnClassNameNotIn(List<String> values) {
            addCriterion("GRID_COLUMN_CLASS_NAME not in", values, "gridColumnClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnClassNameBetween(String value1, String value2) {
            addCriterion("GRID_COLUMN_CLASS_NAME between", value1, value2, "gridColumnClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnClassNameNotBetween(String value1, String value2) {
            addCriterion("GRID_COLUMN_CLASS_NAME not between", value1, value2, "gridColumnClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsEditableIsNull() {
            addCriterion("GRID_COLUMN_IS_EDITABLE is null");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsEditableIsNotNull() {
            addCriterion("GRID_COLUMN_IS_EDITABLE is not null");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsEditableEqualTo(Boolean value) {
            addCriterion("GRID_COLUMN_IS_EDITABLE =", value, "gridColumnIsEditable");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsEditableNotEqualTo(Boolean value) {
            addCriterion("GRID_COLUMN_IS_EDITABLE <>", value, "gridColumnIsEditable");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsEditableGreaterThan(Boolean value) {
            addCriterion("GRID_COLUMN_IS_EDITABLE >", value, "gridColumnIsEditable");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsEditableGreaterThanOrEqualTo(Boolean value) {
            addCriterion("GRID_COLUMN_IS_EDITABLE >=", value, "gridColumnIsEditable");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsEditableLessThan(Boolean value) {
            addCriterion("GRID_COLUMN_IS_EDITABLE <", value, "gridColumnIsEditable");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsEditableLessThanOrEqualTo(Boolean value) {
            addCriterion("GRID_COLUMN_IS_EDITABLE <=", value, "gridColumnIsEditable");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsEditableIn(List<Boolean> values) {
            addCriterion("GRID_COLUMN_IS_EDITABLE in", values, "gridColumnIsEditable");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsEditableNotIn(List<Boolean> values) {
            addCriterion("GRID_COLUMN_IS_EDITABLE not in", values, "gridColumnIsEditable");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsEditableBetween(Boolean value1, Boolean value2) {
            addCriterion("GRID_COLUMN_IS_EDITABLE between", value1, value2, "gridColumnIsEditable");
            return (Criteria) this;
        }

        public Criteria andGridColumnIsEditableNotBetween(Boolean value1, Boolean value2) {
            addCriterion("GRID_COLUMN_IS_EDITABLE not between", value1, value2, "gridColumnIsEditable");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelClassNameIsNull() {
            addCriterion("GRID_COLUMN_MODEL_CLASS_NAME is null");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelClassNameIsNotNull() {
            addCriterion("GRID_COLUMN_MODEL_CLASS_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelClassNameEqualTo(String value) {
            addCriterion("GRID_COLUMN_MODEL_CLASS_NAME =", value, "gridColumnModelClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelClassNameNotEqualTo(String value) {
            addCriterion("GRID_COLUMN_MODEL_CLASS_NAME <>", value, "gridColumnModelClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelClassNameGreaterThan(String value) {
            addCriterion("GRID_COLUMN_MODEL_CLASS_NAME >", value, "gridColumnModelClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelClassNameGreaterThanOrEqualTo(String value) {
            addCriterion("GRID_COLUMN_MODEL_CLASS_NAME >=", value, "gridColumnModelClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelClassNameLessThan(String value) {
            addCriterion("GRID_COLUMN_MODEL_CLASS_NAME <", value, "gridColumnModelClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelClassNameLessThanOrEqualTo(String value) {
            addCriterion("GRID_COLUMN_MODEL_CLASS_NAME <=", value, "gridColumnModelClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelClassNameLike(String value) {
            addCriterion("GRID_COLUMN_MODEL_CLASS_NAME like", value, "gridColumnModelClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelClassNameNotLike(String value) {
            addCriterion("GRID_COLUMN_MODEL_CLASS_NAME not like", value, "gridColumnModelClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelClassNameIn(List<String> values) {
            addCriterion("GRID_COLUMN_MODEL_CLASS_NAME in", values, "gridColumnModelClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelClassNameNotIn(List<String> values) {
            addCriterion("GRID_COLUMN_MODEL_CLASS_NAME not in", values, "gridColumnModelClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelClassNameBetween(String value1, String value2) {
            addCriterion("GRID_COLUMN_MODEL_CLASS_NAME between", value1, value2, "gridColumnModelClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelClassNameNotBetween(String value1, String value2) {
            addCriterion("GRID_COLUMN_MODEL_CLASS_NAME not between", value1, value2, "gridColumnModelClassName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelPropertyNameIsNull() {
            addCriterion("GRID_COLUMN_MODEL_PROPERTY_NAME is null");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelPropertyNameIsNotNull() {
            addCriterion("GRID_COLUMN_MODEL_PROPERTY_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelPropertyNameEqualTo(String value) {
            addCriterion("GRID_COLUMN_MODEL_PROPERTY_NAME =", value, "gridColumnModelPropertyName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelPropertyNameNotEqualTo(String value) {
            addCriterion("GRID_COLUMN_MODEL_PROPERTY_NAME <>", value, "gridColumnModelPropertyName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelPropertyNameGreaterThan(String value) {
            addCriterion("GRID_COLUMN_MODEL_PROPERTY_NAME >", value, "gridColumnModelPropertyName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelPropertyNameGreaterThanOrEqualTo(String value) {
            addCriterion("GRID_COLUMN_MODEL_PROPERTY_NAME >=", value, "gridColumnModelPropertyName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelPropertyNameLessThan(String value) {
            addCriterion("GRID_COLUMN_MODEL_PROPERTY_NAME <", value, "gridColumnModelPropertyName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelPropertyNameLessThanOrEqualTo(String value) {
            addCriterion("GRID_COLUMN_MODEL_PROPERTY_NAME <=", value, "gridColumnModelPropertyName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelPropertyNameLike(String value) {
            addCriterion("GRID_COLUMN_MODEL_PROPERTY_NAME like", value, "gridColumnModelPropertyName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelPropertyNameNotLike(String value) {
            addCriterion("GRID_COLUMN_MODEL_PROPERTY_NAME not like", value, "gridColumnModelPropertyName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelPropertyNameIn(List<String> values) {
            addCriterion("GRID_COLUMN_MODEL_PROPERTY_NAME in", values, "gridColumnModelPropertyName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelPropertyNameNotIn(List<String> values) {
            addCriterion("GRID_COLUMN_MODEL_PROPERTY_NAME not in", values, "gridColumnModelPropertyName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelPropertyNameBetween(String value1, String value2) {
            addCriterion("GRID_COLUMN_MODEL_PROPERTY_NAME between", value1, value2, "gridColumnModelPropertyName");
            return (Criteria) this;
        }

        public Criteria andGridColumnModelPropertyNameNotBetween(String value1, String value2) {
            addCriterion("GRID_COLUMN_MODEL_PROPERTY_NAME not between", value1, value2, "gridColumnModelPropertyName");
            return (Criteria) this;
        }

        public Criteria andLstUptUserIsNull() {
            addCriterion("LST_UPT_USER is null");
            return (Criteria) this;
        }

        public Criteria andLstUptUserIsNotNull() {
            addCriterion("LST_UPT_USER is not null");
            return (Criteria) this;
        }

        public Criteria andLstUptUserEqualTo(String value) {
            addCriterion("LST_UPT_USER =", value, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptUserNotEqualTo(String value) {
            addCriterion("LST_UPT_USER <>", value, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptUserGreaterThan(String value) {
            addCriterion("LST_UPT_USER >", value, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptUserGreaterThanOrEqualTo(String value) {
            addCriterion("LST_UPT_USER >=", value, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptUserLessThan(String value) {
            addCriterion("LST_UPT_USER <", value, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptUserLessThanOrEqualTo(String value) {
            addCriterion("LST_UPT_USER <=", value, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptUserLike(String value) {
            addCriterion("LST_UPT_USER like", value, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptUserNotLike(String value) {
            addCriterion("LST_UPT_USER not like", value, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptUserIn(List<String> values) {
            addCriterion("LST_UPT_USER in", values, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptUserNotIn(List<String> values) {
            addCriterion("LST_UPT_USER not in", values, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptUserBetween(String value1, String value2) {
            addCriterion("LST_UPT_USER between", value1, value2, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptUserNotBetween(String value1, String value2) {
            addCriterion("LST_UPT_USER not between", value1, value2, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeIsNull() {
            addCriterion("LST_UPT_TIME is null");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeIsNotNull() {
            addCriterion("LST_UPT_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeEqualTo(Date value) {
            addCriterion("LST_UPT_TIME =", value, "lstUptTime");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeNotEqualTo(Date value) {
            addCriterion("LST_UPT_TIME <>", value, "lstUptTime");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeGreaterThan(Date value) {
            addCriterion("LST_UPT_TIME >", value, "lstUptTime");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("LST_UPT_TIME >=", value, "lstUptTime");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeLessThan(Date value) {
            addCriterion("LST_UPT_TIME <", value, "lstUptTime");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeLessThanOrEqualTo(Date value) {
            addCriterion("LST_UPT_TIME <=", value, "lstUptTime");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeIn(List<Date> values) {
            addCriterion("LST_UPT_TIME in", values, "lstUptTime");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeNotIn(List<Date> values) {
            addCriterion("LST_UPT_TIME not in", values, "lstUptTime");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeBetween(Date value1, Date value2) {
            addCriterion("LST_UPT_TIME between", value1, value2, "lstUptTime");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeNotBetween(Date value1, Date value2) {
            addCriterion("LST_UPT_TIME not between", value1, value2, "lstUptTime");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table grid_column
     *
     * @mbggenerated do_not_delete_during_merge Tue Feb 15 20:28:39 EST 2011
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table grid_column
     *
     * @mbggenerated Tue Feb 15 20:28:39 EST 2011
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value) {
            super();
            this.condition = condition;
            this.value = value;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.betweenValue = true;
        }
    }
}